// import com.alibaba.druid.sql.ast.SQLName;
// import com.alibaba.druid.sql.ast.statement.SQLAlterTableItem;
// import com.alibaba.druid.sql.dialect.mysql.ast.AnalyzerIndexType;
// import com.alibaba.druid.sql.dialect.mysql.ast.MySqlObjectImpl;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

#include "MySqlAlterTableAlterFullTextIndex.h"
#include "../../../../ast/SQLName.h"
#include "../AnalyzerIndexType.h"
#include "../../visitor/MySqlASTVisitor.h"

// @Override
void MySqlAlterTableAlterFullTextIndex::accept0(MySqlASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(MySqlAlterTableAlterFullTextIndex)))
  {
    acceptChild(visitor, indexName);
    acceptChild(visitor, analyzerName);
  }
  visitor->endVisit(SharedObject(MySqlAlterTableAlterFullTextIndex));
}

SQLName_ptr MySqlAlterTableAlterFullTextIndex::getIndexName()
{
  return indexName;
}

void MySqlAlterTableAlterFullTextIndex::setIndexName(SQLName_ptr indexName)
{
  this->indexName = indexName;
}

SQLName_ptr MySqlAlterTableAlterFullTextIndex::getAnalyzerName()
{
  return analyzerName;
}

void MySqlAlterTableAlterFullTextIndex::setAnalyzerName(SQLName_ptr analyzerName)
{
  this->analyzerName = analyzerName;
}

AnalyzerIndexType_ptr MySqlAlterTableAlterFullTextIndex::getAnalyzerType()
{
  return analyzerType;
}

void MySqlAlterTableAlterFullTextIndex::setAnalyzerType(AnalyzerIndexType_ptr analyzerType)
{
  this->analyzerType = analyzerType;
}
